package com.danbay.cloud.account.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.danbay.cloud.account.dto.EnterpriseInfoDto;
import com.danbay.cloud.account.entity.Enterprise;

import java.util.List;

/**
 * @author SJG
 *         2017/12/26.
 */
public interface EnterpriseMapper extends BaseMapper<Enterprise> {

    /**
     * 查找企业信息
     *
     * @param page 分页信息
     * @return 企业信息列表
     */
    List<Enterprise> findEnterprises(Pagination page, Enterprise enterprise);
}
